﻿#ifndef WEMEET_AV_CONTEXT_
#define WEMEET_AV_CONTEXT_

#include "context.h"


struct XcastConfigration {
    int app_id;
};

namespace Context {
namespace Listener {

class Interface {
public:
  virtual ~Interface() {}

  virtual void OnError(int error, const char* err_msg) = 0;

  virtual void OnTips(const char* tips) = 0;
};

void Add(Interface* listener);

void Remove(Interface* listener);
}

namespace XcastEvent {
void OnError(int error, const char* err_msg);

void OnTips(const char* tips);
}

int StartUp(uint64_t uin, int32_t appid, bool test_env);

void ShutDown();
}

#endif
